import { instance } from "./axios"
export function GetUser(data) {   //登录
    return instance({
        url: "/getAllUser",
        method: "post",
        params: data
    })
}
export function AddUser(data) {   //登录
    return instance({
        url: "/addUser",
        method: "post",
        params: data
    })
}
export function UpdateUser(data) {   //登录
    return instance({
        url: "/updateUser",
        method: "post",
        params: data
    })
}
export function DelUser(data) {   //登录
    return instance({
        url: "/deleteUser",
        method: "post",
        params: data
    })
}